<template>
  <div id="app">
    <!-- //路由匹配到的组价就将渲染到这里 -->
   <keep-alive>
    <router-view class="view-router"  v-if="$route.meta.keepAlive"></router-view>
  </keep-alive>
  <router-view class="view-router" v-if="!$route.meta.keepAlive"></router-view>

   <router-view name="tabBar"></router-view>
   <!-- //这里是4个标签导航按钮 -->
   
  </div>
</template>

<script>
export default {
  name:'app',
   
}
</script>>
<style>

</style>
